package im.vinci;

import im.vinci.server.config.*;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * Created by henryhome on 2/17/15.
 */
@SpringBootApplication
@Import({
        CacheConfiguration.class,
        ControllerConfiguration.class,
        ServiceConfiguration.class,
        DaoConfiguration.class,
        ElasticsearchConfiguration.class,
        OnsConfiguration.class,
        OTAConfigConfiguration.class,
})
@EnableScheduling
public class VinciApplication {

    public static void main(String[] args) {
//        SpringApplication.run(VinciApplication.class, args);

        SpringApplication app = new SpringApplication(VinciApplication.class);
        app.run(args);
    }

}
